@import './common';
@import './head';
@import './foot';

.case-menu-box {
    display: flex;
    justify-content: center;
    padding: 50px 0;

    .span-menu {
        cursor: pointer;
        font-size: 18px;
        text-align: center;
        line-height: 50px;
        border: 2px solid map-get($map: $colors, $key: '799');
        border-radius: 4px;
        width: 140px;
        color: map-get($map: $colors, $key: '799');
        margin-right: 20px;

        &:last-child {
            margin-right: 0;
        }

    }
}

.span-active {
    background: map-get($map: $colors, $key: '799');
    color: #fff !important;
}

.case-detail-box {
    .detail-title {
        margin-bottom: 25px;
    }

    .detail-desc {
        font-size: 14px;
        color: #333;
        margin-bottom: 15px;

        img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }

        .desc-text {
            margin-right: 35px;
        }

    }

    .detail-content {
        max-width: 1600px;
        margin: 0 auto 50px auto;


        .detail-rich {
            margin-bottom: 40px;
            img {
                width: 100%;
                height: auto;
            }
        }

        .detail-page {
            font-size: 20px;
            .page-left {
                flex: 1;
            }
            a {
              color: #333;  
            }
            .prev-page {
                margin-right: 20%;
            }
            .back-btn {
                color: #fff;
                background: map-get($map: $colors, $key: '799');
                margin-left: auto;
                border-radius: 4px;
                padding: 10px 40px;
            }
        }
    }
}

@media screen and (max-width:750px) {
    .case-menu-box {
        padding: 0.5333rem !important;
        flex-wrap: wrap;

        .span-menu {
            width: 2.2667rem !important;
            font-size: 0.4rem !important;
            line-height: 0.8rem !important;
            white-space: nowrap;
            margin-bottom: 0.2667rem;
        }
    }

    .detail-desc {
        img {
            width: 0.4rem !important;
            height: 0.4rem !important;
        }
    }

    .detail-title {
        font-size: 0.4267rem !important;
        margin-bottom: 0.3333rem !important;
    }
    
    .desc-text {
        font-size: 0.2667rem;
        margin-right: 0.3333rem !important;
    }

    .detail-content {
        padding: 0 0.4rem;
    }

    .detail-page {
        padding-top: 0.2667rem;
        flex-wrap: wrap;
        a {
            font-size: 0.3467rem;
        }
        .page-left {
            a {
                display: block;
            }
            .prev-page {
                margin-bottom: 0.4rem !important;
                margin-right: 0 !important;
            }
        }
        .back-btn {
            padding: 0.2rem 0.5333rem !important;
        }
    }

}